package abstractclass;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 38917
 * Date: 2025/5/9
 * Time: 14:29
 */

public abstract class Shape {
    //普通成员变量
    public int width;
    public int length;
    //普通方法
    public void hello(){
        System.out.println("hello shape");
    }
    //构造方法
    public Shape(int width, int length) {
        this.width = width;
        this.length = length;
    }
    public abstract void draw();
}
